package com.gdcp.service;

import com.gdcp.beans.Banner;
import com.gdcp.util.ImageDto;

import java.util.List;
import java.util.Map;

public interface BannerService {

    List<Banner> queryByStatus();

    Map<String,Object> removeByPrimaryKey(Integer[] id);

    Banner getInformation(Integer id);

    Map<String, Object> searchInformation(Map<String, Object> param);

    Map<String,Object> insert(Banner banner, ImageDto mainImage);

    Map<String,Object> updateInformation(Banner banner, ImageDto mainImage);

    Map<String,Object> findPageBreakByCondition(Map<String, Object> param);
}
